package io.renren.modules.app.service;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import io.renren.modules.app.entity.ibps.Employee;

public interface IEmployeeService extends JpaRepository<Employee, Long> {

	@Query(value = "SELECT * FROM `ibps_party_employee` WHERE MOBILE_ = ?1", nativeQuery = true)
	List<Employee> findByMobile(String bxId);
}
